CC=g++
OBJ=ht_guest.o ht_room.o ht_client.o
BIN=client
STD=-std=gnu99
INCLUDE=-I.
LIB=-lm
FLAG=-Wall -Werror
all:$(OBJ)
	$(CC) -o $(BIN) $(OBJ) $(LIB)
%.o:%.c
	$(CC) $(STD) $(FLAG) -c $< -o $@ $(INCLUDE)
clean:
	rm -rf $(BIN) $(OBJ) 
